package com.luomu.base.biz.cookBook.thread.callable;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        int a = 6;
        int b = 9;
        System.out.println("我是通过实现 Callable 接口创建的多线程，我叫" + Thread.currentThread().getName());
        return a + b;
    }
}
